package com.dzj.sprngcloud.myhandler;/*
 * @date:2021/8/23 10:11
 * @author: dzj
 **/

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.dzj.springcloud.entities.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException e){
        return new CommonResult(444,"自定义，global handler exception--------1");
    }
    public static CommonResult handlerException2(BlockException e){
        return new CommonResult(444,"自定义，global handler exception--------2");
    }
}
